﻿package com.tudou.home.newskin.events
{
    import flash.events.*;

    public class SkinEvent extends Event
    {
        public var data:Object;
        public static const SET_VIDEO_SIZE:String = "!setVideoSize";
        public static const END_SEEK:String = "!endSeek";
        public static const OVER_SKIP_MARKER:String = "!skipMarker";
        public static const BUTTON_LOG:String = "!buttonLog";
        public static const MUTE:String = "!mute";
        public static const ENTER_FULLSCREEN:String = "!enterFullscreen";
        public static const PREVIEW:String = "!preview";
        public static const TOGGLE_PAUSE:String = "!togglePause";
        public static const SINGLE_THIS_INDEX:String = "!singleThisIndex";
        public static const PLAY:String = "!play";
        public static const SET_ORIGINAL_VIDEO_SCALE:String = "!setOriginalVideoScale";
        public static const SET_VOLUME:String = "!setVolume";
        public static const END_SET_VOLUME:String = "!endSetVolume";
        public static const SET_RATE:String = "!setRate";
        public static const SET_EXPAND:String = "!setExpand";
        public static const CLOSE_PREVIEW:String = "!closePreview";
        public static const SET_PLAYLIST_SINGLE_CONTINUE:String = "!setPlaylistSingleContinue";
        public static const SET_VIDEO_SCALE:String = "!setVideoScale";
        public static const SEEKING:String = "!seek";
        public static const SINGLE_NEXT_INDEX:String = "!singleNextIndex";
        public static const THIS_INDEX:String = "!thisIndex";
        public static const SAVE_RATE_SETTING:String = "!SaveRateSetting";
        public static const START_SEEK:String = "!startSeek";
        public static const PAUSE:String = "!pause";
        public static const SET_FULLSCREEN:String = "!setFullscreen";
        public static const REPLAY:String = "!replay";
        public static const SET_CLOCKWISE:String = "!setClockWise";
        public static const END_SET_BRIGHTNESS:String = "!endSetBrightness";
        public static const SAVE_SKIP_SETTING:String = "!SaveSkipSetting";
        public static const EXIT_FULLSCREEN:String = "!exitFullscreen";
        public static const SET_BRIGHTNESS:String = "!setBrightness";

        public function SkinEvent(param1:String, param2 = null)
        {
            this.data = param2;
            super(param1, true, true);
            return;
        }// end function

    }
}
